package com.sinvo.oa.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sinvo.oa.entity.model.system.SysRole;

import java.util.List;

/**
 * @Description 角色 Mapper接口
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {
    //根据userid查询其角色
    List<SysRole> queryAssignedRoleByUserId(Long userId);
}
